<?php

namespace app\admin\validate;

use think\Validate;

class User extends Validate
{
    protected $rule =   [
        'id|用户ID' => 'require', 
        'qq|QQ'  => 'min:5|max:11|number',
        'password|密码'   => 'min:5|max:11|alphaNum',
        'status|用户状态' => 'in:0,1,2',
        'score|积分' => 'number|egt:0',
        'exp|经验' => 'number|egt:0'
    ];
    protected $message  =   [
    ];
    protected $scene = [
    ];
}
